using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Evaluation3.classes ;



public partial class uicontrol_companyInfoControl : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        DataTable dt = ((DataView)dsComp.Select(DataSourceSelectArguments.Empty)).Table;
        lblTenDN.Text = dt.Rows[0]["TenDoanhNghiep"].ToString();
        lblLinhVuc.Text = dt.Rows[0]["ChucNang"].ToString();
        lblDiaChi.Text = dt.Rows[0]["DiaChi"].ToString();
        lblDienThoai.Text = dt.Rows[0]["SoDienThoai_Fax"].ToString();
        lblEmail.Text = "<a href='mailto:" + dt.Rows[0]["Email"].ToString() + "' >" + dt.Rows[0]["Email"].ToString() + "</a>";
        lblWebsite.Text = "<a href='" + dt.Rows[0]["WebSite"].ToString() + "' target='_blank' style='color:blue'>" + dt.Rows[0]["WebSite"].ToString() + "</a>";

    }

}
